<?php

$this->useClass('Uniform_Object');


class Uniform_Item extends Uniform_Object
{
	public function href ()
	{
		$store = $this->service->getStore();
		$community = $store->getObject($this->what()->data['community_oid']);

		return $this->service->makeUrl('showitem', array(
			'community_url' => $community->data['community_url'],
			'id_item' => $this->what()->id,
			));
	} // end of method rendUrl
}

